package com.jia.lidao.enity;

import java.io.Serializable;

/**
 * Created by 00029935 on 2017/11/28.
 */

public class UserInfor {

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1511846836
     * authorization : {"access_token":"f61949d16f263a9bb324e9df29673d11","refresh_token":"6181fb528d68deb3142d4f1272b48491","expired_in":7200}
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private AuthorizationBean authorization;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public AuthorizationBean getAuthorization() {
        return authorization;
    }

    public void setAuthorization(AuthorizationBean authorization) {
        this.authorization = authorization;
    }

    public static class AuthorizationBean implements Serializable{
        /**
         * access_token : f61949d16f263a9bb324e9df29673d11
         * refresh_token : 6181fb528d68deb3142d4f1272b48491
         * expired_in : 7200
         */

        private String access_token;
        private String refresh_token;
        private int expired_in;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getRefresh_token() {
            return refresh_token;
        }

        public void setRefresh_token(String refresh_token) {
            this.refresh_token = refresh_token;
        }

        public int getExpired_in() {
            return expired_in;
        }

        public void setExpired_in(int expired_in) {
            this.expired_in = expired_in;
        }
    }
}
